package cn.webrx.coll;/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */

import java.util.LinkedList;
import java.util.List;

/**
 * <p>Project: jse2204 - cn.webrx.coll.LinkedList1
 * <p>Powered by webrx On 2022-09-19 14:06:15
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class LinkedList1 {
    public static void main(String[] args) {
        LinkedList<Integer> list = new LinkedList<>();
        list.add(10);
        list.addFirst(0);
        list.addLast(100);
        list.addAll(1, List.of(11,22,33,44));
        System.out.println(list);

        //list.size();
        //list.clear();

    }
}
